// vue.config.js
const isDevelopment = process.env.NODE_ENV === 'development';

module.exports = {
  configureWebpack: {
    devtool: isDevelopment ? 'source-map' : false, // 开发环境启用 SourceMap
  }
};